package edu.pku.hawk.controller.util;

import java.io.Serializable;

public class SerResource implements Serializable{
	
	private static final long serialVersionUID = -1014524098095664871L; 

	public static final String BASISTYPE="BasicService";
	public static final String COMPOSEDTYPE="ComposedService"; 
	
	private int serviceID;
	private String serviceName;
	private String serviceIcon;
	private String serviceType;
	private double cpu;
	private double disk;
	private double mem;
	private double net;
	private String clientURI;
	private String serverURI;
	
	public SerResource(){
		
	}

	public SerResource(int serviceID, String serviceName, String serviceIcon,
			String serviceType, double cpu, double disk, double mem, double net) {
		this.serviceID = serviceID;
		this.serviceName = serviceName;
		this.serviceIcon = serviceIcon;
		this.serviceType = serviceType;
		this.cpu = cpu;
		this.disk = disk;
		this.mem = mem;
		this.net = net;
	}

	public double getCpu() {
		return cpu;
	}


	public void setCpu(double cpu) {
		this.cpu = cpu;
	}


	public double getDisk() {
		return disk;
	}


	public void setDisk(double disk) {
		this.disk = disk;
	}


	public double getMem() {
		return mem;
	}


	public void setMem(double mem) {
		this.mem = mem;
	}


	public double getNet() {
		return net;
	}


	public void setNet(double net) {
		this.net = net;
	}


	public int getServiceID() {
		return serviceID;
	}

	public void setServiceID(int serviceID) {
		this.serviceID = serviceID;
	}

	public String getServiceName() {
		return serviceName;
	}

	public void setServiceName(String serviceName) {
		this.serviceName = serviceName;
	}

	public String getServiceIcon() {
		return serviceIcon;
	}

	public void setServiceIcon(String serviceIcon) {
		this.serviceIcon = serviceIcon;
	}

	public String getServiceType() {
		return serviceType;
	}

	public void setServiceType(String serviceType) {
		this.serviceType = serviceType;
	}

	public String getClientURI() {
		return clientURI;
	}

	public void setClientURI(String clientURI) {
		this.clientURI = clientURI;
	}

	public String getServerURI() {
		return serverURI;
	}

	public void setServerURI(String serverURI) {
		this.serverURI = serverURI;
	}
	
}
